package com.win.oauth.entity;

import com.fyl.domain.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 *
 * </p>
 *
 * @author youlian.fei
 * @since 2020-03-14
 */
@TableName("sys_user")
public class User extends BaseModel {

    private static final long serialVersionUID = 1L;

    private String name;

    private String password;

    private String nickname;

    private String avatarUrl;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    @Override
    public String toString() {
        return "User{" +
                "name=" + name +
                ", password=" + password +
                ", nickname=" + nickname +
                "}";
    }
}
